import os
import sys
import platform

class BaseConfig(object):

    # 路径配置

    ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))   # 项目路径

    LOG_PATH = os.path.join(ROOT, 'logs')    # 日志地址

    LOGGER = 'test_log'     # 日志文件名

    report_path = os.path.join(ROOT, "result")  # 报告路径

    host = 'https://mf.bimcc.com/api'

    db_host = '192.168.56.101'

    db_user = 'root'

    db_password = '123456'

    db_port = 3306

    db_charset = 'utf8'

    conf_path = os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))), 'config', 'config.ini') #配置文件路径






